package com.travel.modules.alipay.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.modules.alipay.entity.OrderForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.core.annotation.Order;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.travel.modules.alipay.entity.OrderForm
 */
@Mapper
public interface OrderFormDao extends BaseMapper<OrderForm> {
    List<OrderForm> getAllOrder2Merchant(Map<String, Object> params);

    List<OrderForm>  getAllOrder23(Map<String, Object> param);

    OrderForm getOneOrder(@Param("orderId") Long orderId);

    List<OrderForm> getCompletedOrder2Merchant(Map<String, Object> params);

    List<OrderForm> getUncompletedOrder2Merchant(Map<String, Object> params);
}